@use './var.scss' as *;

body {
  width: 100vw;
  min-height: 100vh;
  background-color: var(--backColor);
  color: var(--textColor);
  font-family: Inter, 'Helvetica Neue', Helvetica, 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  // color-scheme: light dark;
  // 属性控制浏览器可以合成（synthesize）哪些缺失的字体，粗体或斜体。
  font-synthesis: none;
  line-height: $line-height;
  font-weight: $font-weight;
  font-size: $font-size;
  position: relative;
}

// 图片
.c-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-full {
  width: 100%;
  height: 100%;
}

.c-one-hidden {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.c-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

// 容器
.base-container {
  width: 100%;
  height: 100%;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.wh-full {
  width: 100%;
  height: 100%;
}

.base-card {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0px 1px 0px 0px #01040966;
  // border: 1px solid #3d444d;
  border: 1px solid var(--lineColor);
  // background-color: #0d1117;
  background-color: var(--backColor);
}

.base-line {
  width: 100%;
  height: 1px;
  background: rgba(244, 244, 244, 0.09);
  margin: 8px 0px;
}
